package com.ysy.enums;


import com.ysy.persimmons.common.exception.BaseExceptionInterface;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum ResponseCodeEnum implements BaseExceptionInterface {

    // ----------- 通用异常枚举状态码 -----------
    SYSTEM_ERROR("USER-RELATION-500", "系统开小差了，正在努力修复中..."),
    PARAM_NOT_VALID("USER-RELATION-501", "参数错误"),

    FOLLOW_IS_ONESELF("USER-RELATION-502", "自己不能关注自己oh..."),


    USER_IS_NULL("USER-RELATION-503", "用户不存在或已注销"),
    FOLLOW_ALREADY_USER("USER-RELATION-504", "已经关注成功，无需重复关注"),
    FOLLOW_USER_LIMIT_MAX("USER-RELATION-505", "关注的用户数已经超过限制！"),
    CANCEL_IS_ONESELF("USER-RELATION-506", "不能取关自己oh..."),
    IS_NO_FOLLOW("USER-RELATION-507", "您未关注当前用户"),
    ;

   private String errorCode;
   private String errorMessage;
}
